import { createReducer, nanoid } from '@reduxjs/toolkit';
import {updateV1} from "./action";
import ImageCommon from "../../assets/image/common/ImageCommon";
export type v1 = {
    v1:boolean
}
const initialState:v1 = {
    v1:true
};

export default createReducer(initialState, (builder) =>
  builder
    .addCase(updateV1, (state, action) => {
        const {v1} = action.payload;
        state.v1 = v1;
    })
);
